<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="themes01/default/pstyle.css">
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
//定义标题
$nums=40;
$sqlnumeid=6;
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='".$sqlnumeid."' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
?>


</ul>
</div>
<script Language="JavaScript"> 
function CheckForm()
{
   if(document.save.title.value=="")
   { alert("栏目名称不能为空！");
     document.save.title.focus();
     return (false);
   }
   if(document.save.keyuser.value=="")
   { alert("档案审批人员不能为空！");
     document.save.keyuser.focus();
     return (false);
   }
   return true;
}
function sendForm()
{
   if(CheckForm())
      document.save.submit();
}
</script>
<form name="save" method="post" action="?ac=file_type_add&do=save&fileurl=file">
	<input type="hidden" name="savetype" value="add" />
<table class="TableTop" width="90%">
   <tr>
      <td class="left"></td>
      <td class="center">新建档案类别</td>
      <td class="right"></td>
   </tr>
</table>
 <table class="TableBlock no-top-border" width="90%">
    <tr>
      <td nowrap class="TableData" width="15%"> 栏目名称：<? get_user_add_help()?></td>
      <td class="TableData">
	  <input maxlength="88" class="BigInput" style="width: 264px;" type="text" name="title" id="title" />
       	</td>
    </tr>
	   <tr>
      <td nowrap class="TableData" width="15%"> 档案审批人员：<? get_user_add_help()?></td>
      <td class="TableData">
			<?php
	  get_oa_member_public(2,"keyuser","","+选择审批人员",60,4)
	  ?>
       	</td>
    </tr>
    <tr>
      <td nowrap class="TableData"> 选择上级栏目：</td>
      <td class="TableData">
<select class="SelectStyle" name="father">
										<option value="0" >顶级栏目</option>
										<?php GET_FILE_PUBLIC_LIST()?>
										</select>
      </td>
    </tr>
	
	
 
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">

		<input type="button" name="Submit" value="保存信息" class="BigButton" onclick="sendForm();"> 
        
      </td>
    </tr>
  </table>
</form>
</div>
</div>
 
 
</body>
</html>
